package com.ym.livedemo

import android.annotation.SuppressLint
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.os.Handler
import android.os.Looper
import com.ym.ymplayer.YMPlayerVideoActivity.start
import splitties.activities.start

@SuppressLint("CustomSplashScreen")
class SplashActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_splash)
        SystemBarHelper.immersiveStatusBar(this, 0f)
        Handler(Looper.getMainLooper()).postDelayed({
            start<MainActivity>()
            finish()
        }, 800)
    }
}